﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Panel ID="Panel1" runat="server" BorderStyle="Solid" BorderWidth="1px" 
            Width="400px">
            <asp:Label ID="Label1" runat="server" Text="Dang Nhap" BackColor="#3366CC" 
                Font-Bold="True" ForeColor="White" style="text-align: center" Width="100%"></asp:Label>
            <br />
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                style="text-align: center" />
            <br />
            <asp:Label ID="Label2" runat="server" style="text-align: right" 
                Text="Ten nguoi dung:" Width="150px"></asp:Label>
            <asp:TextBox ID="txtUsername" runat="server" Width="200px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtUsername" ErrorMessage="Username is required" 
                SetFocusOnError="True">*</asp:RequiredFieldValidator>
            <br />
            <br />
            <asp:Label ID="Label3" runat="server" style="text-align: right" 
                Text="Mat Khau:" Width="150px"></asp:Label>
            <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="200px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtPassword" ErrorMessage="Password is required" 
                SetFocusOnError="True">*</asp:RequiredFieldValidator>
            <br />
            <br />
            <asp:CheckBox ID="cbRemember" runat="server" style="text-align: center" 
                Text="Ghi nho cho lan dang nhap ke tiep" Width="100%" />
            <br />
            <br />
            <asp:Label ID="Label5" runat="server" style="text-align: right" Width="150px"></asp:Label>
            <asp:Button ID="btnLogin" runat="server" onclick="btnLogin_Click" 
                Text="Dang nhap" />
            <asp:CustomValidator ID="CustomValidator1" runat="server" Display="None" 
                ErrorMessage="CustomValidator"></asp:CustomValidator>
            <br />
            <br />
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Register.aspx">Ban chua co tai khoan? Nhap vao day de dang ky!</asp:HyperLink>
            <br />
            <asp:HyperLink ID="HyperLink2" runat="server" 
                NavigateUrl="~/ForgotPassword.aspx">Ben quen mat khau?</asp:HyperLink>
        </asp:Panel>
    
    </div>
    </form>
</body>
</html>
